﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text.RegularExpressions;

namespace Credisoft.Models
{
    public class Utils
    {
        public static Boolean isDate(String s)
        {
            Match match = Regex.Match(s, "....-..-.. ..:..:.*");
            return match.Success;
        }

        public static Boolean isBoolean(String s)
        {
            return s.Equals("True") || s.Equals("False");
        }
    }
}